
<form method="post" enctype="multipart/form-data" target="_blank" id="form-order">
    <div class="table-responsive">
        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <td style="width: 1px;" class="text-center"><input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);"></td>

                    <td class="text-right"><a href="javascript:sort('id');">ID</a></td>
                    <td>会员帐号</td>
                    <td class="text-left"><a href="javascript:sort('create_time');">提现时间</a></td>
                    <td class="text-left"><a href="javascript:sort('money');">金额</a></td>
                    <td class="text-left">提现类型</td>
                    <td>开户名</td>
                    <td>开户银行</td>
                    <td>分行支行</td>
                    <td>银行账号</td>
                    <td class="text-left">
                        <a href="javascript:sort('status');">状态</a>
                    </td>
                    <td class="text-right">操作</td>
                </tr>
            </thead>
            <tbody>
            <volist name="tkList" id="list">
                <tr>
                    <td class="text-center">
                        <input type="checkbox" name="selected[]" value="{$list['id']}">
                        <input type="hidden" name="shipping_code[]" value="flat.flat">
                    </td>
                    <td class="text-right">{$list.id}</td>
                    <td class="text-left">{$list.account}</td>
                    <td class="text-left">{$list.create_time|date = 'Y-m-d H:i:s',###}</td>
                    <td class="text-left">{$list.money}</td>
                    <td class="text-left">
                        <switch name="list.type">
                            <case value="0"><font color=green><span style="color:red;">投资积分</span></font></case>
                            <case value="1"><font color=green>奖金积分</font></case>
                        </switch>
                    </td>
                    <td class="text-left">{$list.truename}</td>
                    <td class="text-left">{$list.bank_opening}</td>
                    <td class="text-left">{$list.bank_address}</td>
                    <td class="text-left">{$list.bank_account}</td>
                    <td class="text-left">
                       <switch name="list.status">
                            <case value="0"><font color=green><b style="color:red;">提现申请中</b></font></case>
                            <case value="1"><font color=green>提现成功 ｜ {$list.remark}</font></case>
                            <case value="2"><font color=red>提现失败 ｜ {$list.remark}</font></case>
                        </switch>
                    </td>
                    <td class="text-right">
                        <if condition='$list.status eq 0'><a href="__CONTROLLER__/tikuan_qr/id/{$list['id']}" onclick="return confirm('确认审核？');">确认审核</a>｜
                        <a href="__CONTROLLER__/tikuan_jujue/id/{$list['id']}" onclick="return confirm('确认拒绝？');">拒绝审核</a>｜</if>
                        <a href="__CONTROLLER__/tikuan_del/id/{$list['id']}" onclick="return confirm('确认删除？');" ><b style="color:red">删除</b></a>
                    </td>
                </tr>
            </volist>
            </tbody>
        </table>
    </div>
</form>
<div class="row">
    <div class="col-sm-3 text-left">
    </div>
    <div class="col-sm-6 text-right">{$page}</div>
</div>
<script>
    $(".pagination  a").click(function () {
        var page = $(this).data('p');
        ajax_get_table('search-form2', page);
    });
</script>